package com.carcenter.pojo;

import java.sql.Timestamp;

/**
 * CarMessage entity. @author MyEclipse Persistence Tools
 */

public class CarMessage implements java.io.Serializable {

	// Fields

	private Integer mid;
	private Integer cid;
	private String content;
	private Timestamp createtime;
	private String username;

	// Constructors

	/** default constructor */
	public CarMessage() {
	}

	/** full constructor */
	public CarMessage(Integer cid, String content, Timestamp createtime,
			String username) {
		this.cid = cid;
		this.content = content;
		this.createtime = createtime;
		this.username = username;
	}

	// Property accessors

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}